Style

Plots may be displayed in one of six styles: lines, points, linespoints, impulses, dots, or errorbars. The lines style connects adjacent points with lines. The points style displays a small symbol at each point. The linespoints style does both lines and points. The impulses style displays a vertical line from the x axis to each point. The dots style plots a tiny dot at each data point; this is useful for scatter plots with many points.

The errorbars style is relevant only for to data file plots. It is treated like points for function plots and splots. For data file plots, errorbars is like points, except that a vertical error bar is also drawn: for each point (x,y), a line is drawn from (x,ylow) to (x,yhigh). A tic mark is placed at the ends of the error bar. The ylow and yhigh values are read from the data file's third and fourth columns, or as specified with the using option to plot. See plot errorbars for more information.

Default styles are chosen with the set function style and set data style commands. See plot style for information about how to override the default plotting style for individual functions.

Syntax:

        set function style <style>
        set data style <style>
        show function style
        show data style

where <style> is lines, points, linespoints, impulses, dots, or errorbars.